package com.pox.guli.service.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author PoX21s
 * @Date: 2022/6/2 17:31
 * @Version 1.0
 */

// 此模块不会用数据源，父模块添加了相关依赖，使用排除数据源自动配置类
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan({"com.pox.guli"})
@EnableFeignClients
// 服务注册发现
@EnableDiscoveryClient
public class ServiceOssApplication8120 {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOssApplication8120.class,args);
    }
}
